]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspace: Also hide attached dialogs in WindowClone from picking
authorJonas Dreßler <verdre@v0yd.nl>
Sun, 31 May 2020 21:05:45 +0000 (23:05 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 1 Jun 2020 14:01:39 +0000 (14:01 +0000)
As explained in the comment in _init() of WindowClone, we hide the
actual clone from picking so it doesn't interfere with XDND.

This description applies to the clones of the attached dialogs just as
well though, so hide the clones of attached dialogs from picking, too.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1293

js/ui/workspace.js

index 5002c50788847eb7f8890159628cd25c496a4c72..e11ffd896668ae8ad9e2507a5c27d329df399096 100644 (file)
@@ -239,6 +239,9 @@ var WindowClone = GObject.registerClass({
 
             this._onMetaWindowSizeChanged();
         });
+
+        Shell.util_set_hidden_from_pick(clone, true);
+
         this.add_child(clone);
     }